<?php
/**
 * Created by PhpStorm.
 * User: 共赢岛
 * Date: 2024/12/5
 * Time: 15:05
 */

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class ErpRwoRepairItemEntry extends Model
{
    protected $connection = "oracle";
    protected $table = 'T_ATS_RWORepairItemEntry';

    public function erpRepairSettlement()
    {
        return $this->belongsTo(ErpRepairSettlement::class, 'FPARENTID', 'FSOURCEBILLID');
    }
}